package top.jiachunlei.bridge;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/12/9 21:41
 */
public class Circle extends Shape
{
    private int x, y, radius;

    public Circle(DrawAPI drawAPI, int x, int y, int radius)
    {
        super(drawAPI);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    @Override
    public void draw()
    {
        drawAPI.drawCircle(radius, x, y);
    }
}
